package com.share.device.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.share.device.domain.Personnel;
import com.share.device.mapper.PersonnelMapper;
import com.share.device.service.PersonnelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PersonnelServiceImpl extends ServiceImpl<PersonnelMapper, Personnel> implements PersonnelService {
    @Autowired
    private PersonnelMapper personnelMapper;

    @Override
    public List<Personnel> personnelList(Personnel personnel) {
        List<Personnel> list = personnelMapper.personnelList(personnel);
        return list;
    }
}
